<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
	<h:head>
		<title>JENA ARQ</title>
	</h:head>
	
	<h:body>
		<h:form>
			<div style="text-align: center;font: 24px;">
				USANDO JENA TDB - BDNC 2011
			</div>
			<br/>
			<br/>
			<h:panelGrid columns="4">
				<h:outputText value="Professor: "/>
				<h:selectOneMenu value="#{startBean.professorSelected}" style="width:200px">
					<f:selectItem itemValue="1" itemLabel="José Macedo"/>
					<f:selectItem itemValue="2" itemLabel="Creto Augusto"/>
					<f:selectItem itemValue="3" itemLabel="Cláudia"/>
					<f:selectItem itemValue="4" itemLabel="Javam"/>
				</h:selectOneMenu>
				
				<h:selectOneMenu value="#{startBean.anoSelected}" style="width:200px">
					<f:selectItems value="#{startBean.ano}"></f:selectItems>
				</h:selectOneMenu>
				
				<h:commandButton value="Listar publicações" action="#{startBean.goToPublication}"/>
			
				<h:outputText value="Linha de Pesquisa: "/>
				<h:panelGroup>
					<h:inputText id="linhaText" style="width:200px" value="#{startBean.linhaPesquisa}" required="false" requiredMessage="Esse campo não pode ser vazio"></h:inputText>
					<h:message for="linhaText"></h:message>
				</h:panelGroup>
				<h:commandButton value="Listar" action="#{startBean.goToLinhaPesquisa}"/>
				<h:outputText value=" "/>
			
				<h:commandLink value="Quem fez doutorado no exterior?" action="foradoPais"/>
			
			</h:panelGrid>
		</h:form>	
	</h:body>
	      
</html>